<template>
  <div id="app">
    <router-view />
  </div>
</template>

<script lang="ts">
import { Vue, Component } from "vue-property-decorator";
@Component
export default class App extends Vue {
  created() {
    this.changeBodyStyle();
  }
  //调整样式
  changeBodyStyle() {
    let body = document.body;
    body.style.height = "100%";
  }
}
</script>

<style lang="scss" scoped>
@import "@/assets/css/variable.scss";
#app {
  width: 100%;
  height: 100%;
  font-family: KaiTi_GB2312;
  // overflow-y: hidden;
  background-color: $bg-color;
}
</style>
